package cn.tedu.store.mapper;

import cn.tedu.store.entity.Goods;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@DS("master")
@Mapper
public interface GoodsMapper {
	/**
	 * 查询热销商品
	 * @return
	 */
	List<Goods> findHotList();
	
	Goods findById(Long id);

}
